from flask_restx import Api
from flask import Blueprint, url_for

api_restful = Blueprint('api_restful',__name__,url_prefix='/api_restful')

class CustomApi(Api):

    @property
    def specs_url(self):
        return url_for(self.endpoint("specs"), _external=False)


api = CustomApi(app=api_restful,title='api_restful',description='restful api接口文档')

from .test.endpoints import *
